home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / clang / nn.zip / S-FORTUN.H < prev    next >
C/C++ Source or Header  |  1989-07-11  |  3KB  |  176 lines

  1. *******************************************************************
  2. /*
  3.  *    This file is for Fortune 32:16 systems.
  4.  *    Use with m-m680x0.h file, but requires STRCSPN in config.h
  5.  *    The Fortune may have problems with the nested #ifdef:s in
  6.  *    regexp.c (STRCSPN + __STDC__).  If so remove the __STDC__ ifdef.
  7.  *
  8.  *    From thewev!root, July 9, 1989.
  9.  */
  10.  
  11.  
  12. /*
  13.  *    Include header files containing the following definitions:
  14.  *
  15.  *         off_t, time_t, struct stat
  16.  */
  17.  
  18. #include <sys/types.h>
  19. #include <stat.h>
  20.  
  21.  
  22. /*
  23.  *    Define if your system has system V like ioctls
  24.  */
  25.  
  26. /* #define    HAVE_TERMIO            /* */
  27.  
  28. /*
  29.  *    Define to use terminfo database.
  30.  *    Otherwise, termcap is used
  31.  */
  32.  
  33. /* #define    USE_TERMINFO            /* */
  34.  
  35. /*
  36.  *    Specify the library (or libraries) containing the termcap/terminfo
  37.  *    routines.
  38.  *
  39.  *    Notice:  nn only uses the low-level terminal access routines
  40.  *    (i.e. it does not use curses).
  41.  */
  42.  
  43. #define TERMLIB    -ltermlib
  44.  
  45. /*
  46.  *    Define HAVE_STRCHR if strchr() and strrchr() are available
  47.  */
  48.  
  49. /* #define HAVE_STRCHR            /* */
  50.  
  51. /*
  52.  *    Define if a signal handler has type void (see signal.h)
  53.  */
  54.  
  55. /* #define    SIGNAL_HANDLERS_ARE_VOID    /* */
  56.  
  57. /*
  58.  *    Define if signals must be set again after they are caught
  59.  */
  60.  
  61. #define    RESET_SIGNAL_WHEN_CAUGHT    /* */
  62.  
  63. /*
  64.  *    Define MICRO_ALARM to timeout in 0.1 seconds if possible
  65.  */
  66.  
  67. #define MICRO_ALARM()    alarm(1)    /* System V */
  68. /*#define MICRO_ALARM()    ualarm(100000,0)    /* BSD 4.3 */
  69.  
  70. /*
  71.  *    Define if your system has BSD like job control (SIGTSTP works)
  72.  */
  73.  
  74. /* #define HAVE_JOBCONTROL            /* */
  75.  
  76.  
  77. /*
  78.  *    Define if your system has a 4.3BSD like syslog library.
  79.  */
  80.  
  81. #undef HAVE_SYSLOG
  82.  
  83. /*
  84.  *    Define if your system provides the "directory(3X)" access routines
  85.  *
  86.  *    If true, include the header file(s) required by the package below
  87.  *    (remember that <sys/types.h> or equivalent is included above)
  88.  *    Also typedef Direntry to the proper struct type.
  89.  */
  90.  
  91. /* #define    HAVE_DIRECTORY            /* */
  92.  
  93. /* #include <dirent.h>            /* System V */
  94. #include <sys/dir.h>                /* BSD */
  95.  
  96. /* typedef struct dirent Direntry;        /* System V */
  97. typedef struct direct Direntry;        /* BSD */
  98.  
  99. /*
  100.  *    Define if your system has a mkdir() library routine
  101.  */
  102.  
  103. #define    HAVE_MKDIR            /* */
  104.  
  105.  
  106. /*
  107.  *    Define HAVE_GETHOSTNAME if your system provides a BSD like 
  108.  *    gethostname routine.
  109.  *    Otherwise, define HAVE_UNAME if uname() is avaiable.
  110.  *    As a final resort, define HOSTNAME to the name of your system 
  111.  *    (in config.h).
  112.  */
  113.  
  114. /* #define    HAVE_GETHOSTNAME    /* BSD systems */
  115.  
  116. /* #define    HAVE_UNAME            /* System V */
  117.  
  118. /*
  119.  *    Define DETATCH_TERMINAL to be a command sequence which 
  120.  *    will detatch a process from the control terminal
  121.  *    Also include system files needed to perform this HERE.
  122.  *    If not possible, just define it (empty)
  123.  */
  124.  
  125. /* #include "...." */
  126.  
  127. #define    DETATCH_TERMINAL /* setpgrp(); */
  128.  
  129.  
  130. /* 
  131.  *    Specify where the Bourne Shell is.
  132.  */
  133.  
  134. #define SHELL        "/bin/sh"
  135.  
  136. /*
  137.  *    Specify the default mailer to be invoked by nnmail
  138.  */
  139.  
  140. #define    MAILX        "/bin/mail"    /* FOR:PRO */
  141. /* #define    MAILX    "/usr/ucb/Mail"        /* BSD */
  142.  
  143.  
  144. /*
  145.  *    Specify the default pager & options.
  146.  */
  147.  
  148. #define    PAGER        "/usr/bin/less -s"
  149.  
  150. /*
  151.  *    Specify the default print command and options.
  152.  */
  153.  
  154. #define    PRINTER        "/usr/bin/lpr -s"
  155.  
  156.  
  157. /*
  158.  *    Define the maximum length of any pathname that may occur
  159.  */
  160.  
  161. #define    FILENAME     128
  162.  
  163.  
  164. /*
  165.  *    Define standard compiler flags here:
  166.  */
  167.  
  168. #define COMPILER_FLAGS -O
  169.  
  170. /*
  171.  *    If your system requires other libraries when linking nn
  172.  *    specify them here:
  173.  */
  174.  
  175. #define EXTRA_LIB
  176.